package com.sihai.ehr.service;

import com.sihai.core.Limit;
import com.sihai.core.LimitedList;
import com.sihai.core.Sorter;
import com.sihai.ehr.model.biz.AdministrationOutApplyForm;
import com.sihai.ehr.model.biz.AdministrationOutApplyFormAuditing;
import com.sihai.ehr.model.sys.User;
import com.sihai.ehr.web.pojo.SearchFormPojo;

import java.util.List;

/**
 * author: wxn
 * since: 13-4-15 23:58
 * 行政签核系统 - 外出申请单Service
 */
public interface AdministrationOutApplyFormService {
    void save(AdministrationOutApplyForm form)throws Exception;

    AdministrationOutApplyForm get(Long id)throws Exception;

    boolean delete(String ids)throws Exception;

    LimitedList<AdministrationOutApplyForm> findAdministrationOutApplyForm(User user, SearchFormPojo searchFormPojo, Limit limit, Sorter sorter)throws Exception;

    List<List<AdministrationOutApplyFormAuditing>> findAdministrationOutApplyFormAuditing(Long formId)throws Exception;

    void saveAdministrationOutApplyFormAuditingProcess(Long formId)throws Exception;
}
